package com.sz.designpattern.behavior11.vistor;

public class Video extends Web{

    public Video(String name) {
        super(name);
    }

    @Override
    public void accept(Visitor vistor) {
        vistor.visit(this);
    }

    @Override
    public void download() {
        System.out.println("Video.download  music");
    }

    public void playVideo(){
        System.out.println("Video.playVideo");
    }
}
